home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / art&graf.ix / art-0063 / insider.txt < prev    next >
Text File  |  1997-04-16  |  24KB  |  521 lines

  1.  
  2.             BUTTERFLY-ARTIST User Guide
  3.             ---------------------------
  4.  
  5.                          CONTENTS
  6.                          --------
  7.  
  8. 0.  General
  9. 1.  Memory configuration
  10. 2.  Options menu
  11. 3.  Loading Pictures
  12. 4.  Saving Pictures
  13. 5.  Printing
  14. 6.  Selecting sections from the canvas
  15. 7.  Backup Menu
  16. 8.  Copy
  17. 9.  Lasso
  18. 10. Text
  19. 11. Fill Patterns
  20. 12. Fill
  21. 13. Accessories
  22. 14. Zoom
  23. 15. Masking
  24. 16. 'Single Splat' mode
  25.  
  26. Author's Note :
  27. ---------------
  28. If you've read INTRO.TXT and already loaded the program to have a
  29. look at it, you probably have a good idea of what it's all about;
  30. so lets plunge in at the deep end.
  31.  
  32. ------------------------------------------------------------------
  33.                              0. General :
  34. ------------------------------------------------------------------
  35.  
  36. - Left Mouse_button('Links') = Select, Draw, Put/set
  37. - Right Mouse_button('Rechts') = Cancel (back to Menu) especially
  38.   at sub-menus
  39. - 'Esc'            = Quit the current function
  40. - 'Help'           = Info + keyboard mapping
  41. - 'Undo'           = Undo
  42. - 'ClrHome'        = Total-Undo, i.e. put the picture back to the
  43.                      State it was at the start.
  44. - 'Space'          = allow active window to scroll over work-area
  45.                      (with mouse or joystick).
  46. - ( Shift+ ) Cursor and 1-9 on numeric keypad
  47.                    = scroll around work-area
  48.  
  49. The drawing mode is selected using 1-4 on the main keypad :
  50.  1 = replace
  51.  2 = transparent [ OR ]
  52.  3 = XOR
  53.  4 = reverse transparent [ ??? ]
  54. valid for all functions !
  55.  
  56. The result of changing mode is immediately visible - WYSIWYG in
  57. action.
  58.  
  59. Known funnies:
  60. Sometimes the mouse gets stuck in the menu bar area (question for
  61. programmers : How can I stop this?). If it happens to you click
  62. the left mouse button.
  63.  
  64. Sometimes you see 'nothing' on the Monitor : some possibilities
  65. are
  66. - the Write Mode is wrong or
  67. - the Fill pattern is wrong or
  68. - you're doing a very long flood-fill ( by accident? ) or
  69. - you've got the colours wrong or
  70. - the mouse is off the side of the screen or
  71. - the mouse is stuck in the Menu bar ( top of screen ) or
  72. - ???
  73.  
  74. ----------------------------------------------------------------------
  75.                       1. Memory Configuration menu :
  76. ----------------------------------------------------------------------
  77.  
  78. Setting-up of the memory configuration needs some care on a 1 MB
  79. machine; with 2 MB you should have plenty of space.
  80.  
  81. Butterfly will make use of all the available RAM in the system.
  82.  
  83. The more RAM you allocate to the font buffer, mask screen and
  84. lasso buffer, the less area you have to draw on. For example : if
  85. you don't need any fonts in your drawing, set the Font buffer to
  86. 0 Kb and you'll get a work-area up to 100 Kb larger.
  87.  
  88. IMPORTANT : If you don't initialise the font buffer, you obviously
  89. won't be able to load any fonts.
  90.  
  91. IMPORTANT : With a 1MB machine, if you load more than 300 Kb of
  92. accessories and resident utilities ( RAMdisk, replacement file
  93. selector etc. ) Butterfly won't work at all.
  94.  
  95. ----------------------------------------------------------------------
  96.                                 2. Options menu :
  97. -------------------------------------------------------------------------------
  98.  
  99. Info on         - extra help/info in certain functions
  100. Growbox         - enable/disable GEM grow and shrink boxes ( off =
  101. faster routines )
  102. Verify          - switch verify for disk writes on/off
  103. D-Free          - check for sufficient free space before writing
  104.                     to disk
  105.                   WARNING: may take a while with hard disks
  106. Click           - Key-click switch.
  107. Blitter         - switch on/off ( if you've got one! )
  108. Fontbuffer      - size to which initialised
  109. Blockbuffer     - always 32kb.
  110. Lassobuffer     - size to which initialised ( 0/32/64 kb).
  111. Workspace       - size dependent on free RAM, Font & Lasso buffers
  112.                     and mask screen
  113.                 - Width (min.640 Pixel) and
  114.                 - Height (min.400 Pixel)
  115.                   can be modified to suit the shape of canvas you
  116.                   wish to work on; but do this before you start
  117.                   drawing or you may lose some of your work.
  118.                 - Max. value:  Abs.= absolute (ie maximum if other
  119.                                dimension were set to minimum)
  120.                                Rel.= relative ( ie maximum without
  121.                                reducing other dimension first)
  122. Co-ordinate specification
  123.                 - reports the current mouse position on the
  124.                   workarea or on the monitor
  125.                   ( x = 0->639 | y = 0->399 )
  126.                 - the point of origin can be specified, (normal:x=0,
  127.                   y=0, ie the top left corner).
  128. Mirror          - various modes of operation,  with definable
  129.                     zero-point. Works with almost all drawing
  130.                     functions, and can be switched on/off with F4.
  131.  
  132. Masking, single-splat and colour
  133.                 - switches to duplicate the effect of F2,F3,F5.
  134.  
  135. -------------------------------------------------------------------------------
  136.                                 3. Loading Pictures :
  137. -------------------------------------------------------------------------------
  138.  
  139. - loading always takes place at the current position in the active
  140.   window
  141. - The file-name extension is irrelevant
  142. - you can't Undo !
  143.  
  144. Screen-Format: standard format; many graphics packages (DOODLE,
  145.                MONOSTAR, STAD, ...) support this whole-screen
  146.                format (32kb raw bitmap data); Butterfly can also
  147.                handle files of other sizes where :
  148.                datalength <= 32kb : whole file is loaded
  149.                datalength > 32kb  : the first 32kb is loaded at
  150.                the current position and subsequent 32kb chunks are
  151.                loaded at further (selected) positions until the
  152.                end-of-file. Ideal for 64kb double-screen formats.
  153.  
  154. STAD-Format  : packed format used by STAD. (Good algorithm!)
  155.  
  156. DEGAS-Format : as used by DEGAS, NEOCHROM(?) and ART DIRECTOR;
  157.                converted as and when necessary or automatically -
  158.                see 'Options'.
  159.                FAULT: packed colour DEGAS-files aren't unpacked
  160.                correctly. Does anyone know how to do this?
  161.                ATTENTION: NEOCHROM- and ART DIRECTOR-files must
  162.                have the correct length and extension !
  163.  
  164. IMG-Format   : packed IMAGE-Format (SNAPSHOT,1ST-WORDPLUS,Scanner-
  165.                -Programs,...); monochrome only; any size, but must
  166.                be able to fit on the canvas at the current
  167.                position. ( reasonable packing algorithm, good for
  168.                graphics with lots of fill !)
  169.  
  170. CMP-Format   : COMPACTOR format from Magazine ST-Computer 12/86
  171.                is used by PUBLIC-PAINTER ( not a very good
  172.                compression algorithm ).
  173.  
  174. ???-Format   : any size, for non-standard formats; uses an internal
  175.                buffer of up to 80kb.  If the file is bigger you
  176.                will be prompted to supply an offset within the
  177.                file to start loading from. Press 'Help' for help.
  178.                The screen width can be reduced from 80 bytes to
  179.                e.g. 11 bytes. If you load a graphic file only 11
  180.                bytes wide to an 80-byte screen, you see garbage.
  181.                If you set the screen width to 11, the 1st 11 bytes
  182.                of the file are written to the 1st line, the 2nd 11
  183.                to the 2nd line etc. ( 11 is only being used as an
  184.                example, the range is 1 to 80 ). When everything
  185.                looks right you can cut the block for use ( '\' for
  186.                the menu ) or write it to a file. If you're not
  187.                sure what width you should be using, just try it
  188.                out. You can scroll around the file with the cursor
  189.                keys - a pixel at a time with Shift+cursor, but
  190.                only vertically.
  191.                CAUTION: There is no warning at end-of-file, and
  192.                nothing to stop you scrolling through ( and
  193.                changing ) the rest of your ST's memory.
  194.                IMPORTANT : 'Esc' = Exit
  195.  
  196. Convert.     : convert current ( visible ) colour screen to high-
  197.                resolution.
  198.                Abort with 'Esc'.
  199.    STAD-Mode : simple routine ( slow and in Basic. Does anyone
  200.                have an Assembler version? )
  201.    DEGAS-Mode: the conversion process can use either the palette
  202.                currently held in the buffer or that from the file
  203.                to be converted; the buffer is reset when you load
  204.                a DEGAS or other colour picture. Conversion uses
  205.                the first 22 fill patterns to replace colours, an
  206.                alert-box tells you which. Tip : The first number
  207.                is usually the background colour; abandon the
  208.                conversion and clear this pattern in the fill-
  209.                pattern editor. Re-convert, and the background of
  210.                the picture will have disappeared. Experiment with
  211.                a test picture and different writing modes; you can
  212.                reinforce contrast etc. like this too.
  213.  
  214. Options : you can switch automatic conversion of Degas pictures on
  215.           & off.
  216.  
  217. -------------------------------------------------------------------------------
  218.                          4. Saving Pictures :
  219. -------------------------------------------------------------------------------
  220.  
  221. Screen  : save the visible screen (32kb)
  222.  
  223. STAD    : visible screen in STAD-format
  224.  
  225. DEGAS   : visible screen in DEGAS format (unpacked: 32032 Bytes).
  226.           The DEGAS format includes a colour palette, normally
  227.           used only for low and medium resolution. You can select
  228.           this either from the palette buffer or from any Degas
  229.           file.
  230. IMPORTANT  : files for subsequent use in DEGAS must have an
  231.              extension of ".PI3",".PI2" or ".PI1".
  232. ALSO       : when you give the extension as PI1 or PI2 Butterfly
  233.              will make the necessary internal changes so that
  234.              DEGAS will recognise the file as a colour picture.
  235.  
  236. IMG     : IMAGE-Format; any size,so you start by defining the
  237.           section of the canvas to be saved (see section 6). Then
  238.           select a filename. Two packing algorithms are offered:
  239.           Optimal - highest packing density.
  240.           Speed   - only compresses 2 lines at a time, faster with
  241.                     RAM or hard-disk but generates noticeably
  242.                     longer files.
  243.  
  244. -------------------------------------------------------------------------------
  245.                                5. Print :
  246. -------------------------------------------------------------------------------
  247.  
  248. Size-wise a 9-pin printer gives the most faithful representation
  249. (1cm Monitor = 1cm on the Printer); a 24-pin comes out somewhat
  250. smaller.
  251.  
  252. Density: 24-pin : normal : 1 Pixel = 4 print dots (90*90 DPI)
  253.                   super  : 1 Pixel = 1 print dot (180*180 DPI =
  254.                                    ½ size)
  255.          9-pin : no change in size
  256.  
  257. The area to be printed must first be defined (see section 6).
  258.  
  259. Left border in pixels : the actual left border on the printer is
  260.                         dependent on the density used (only makes
  261.                         a difference with 24-pins).
  262. Overview (ubersicht)  : not implemented yet!
  263. Destination:
  264.         The data, in the format in which it would normally be sent
  265.         to the printer, can instead be written to file. It can
  266.         then be printed directly from the desktop without the need
  267.         to load any graphics software - very handy for frequently
  268.         needed things like labels. A RAM disk is obviously best
  269.         for speed, but note that these files can be very large; a
  270.         32kb screen to be printed on a 24-pin printer at normal
  271.         density will become 131kb.
  272.  
  273. -------------------------------------------------------------------------------
  274.      6.  Selecting sections from the work-space :
  275.                                (for Printer + IMG-Format)
  276. -------------------------------------------------------------------------------
  277.  
  278. You can use the mouse to scroll over the entire canvas; as you
  279. reach the screen edge the picture will scroll. A joystick in port
  280. 1 will do the same job (Fire = right mouse button).
  281.      - left Mouse button = set corner 1
  282.      - left button again = set corner 2 (section now defined)
  283.      - Shift & right mouse button = unset corner 1 (start again)
  284.       -right Mouse_button = quit (the last section remains current)
  285.  
  286. Info on coordinates:
  287.  b(readth) :    h(eight  :   ( of section )
  288.  xb        :    yb       :   ( corner 1 )
  289.  x         :    y        :   ( current mouse position )
  290. - units are always pixels.
  291.  
  292. The section definitions are stored ( separately for IMG and
  293. printer, naturally ) internally and can be re-used : next time
  294. don't define a new section, just click the right mouse button. At
  295. initial entry the definitions default to the first screen (32kb)
  296. at the top left of the canvas.
  297.  
  298. -------------------------------------------------------------------------------
  299.                            7.  Backup Menu :
  300. -------------------------------------------------------------------------------
  301.  
  302. When you save a file it may happen that a file of the same name
  303. already exists in the directory in question. In this case the
  304. Backup Menu will appear.
  305. The choices available are:
  306. 1) overwrite the file ( ie original deleted )
  307. 2) rename the original to *.BAD before saving
  308. 3) append the new data to the original file. Take care with this
  309. one; it will work ok with straight screen dumps but doing it with
  310. any of the compressed formats will give you an unreadable file.
  311.  
  312. -------------------------------------------------------------------------------
  313.                               8.  Copy :
  314. -------------------------------------------------------------------------------
  315.  
  316. With the number keys 1,2,..,9,0 (main keyboard, not numeric pad),
  317. and also Shift 1,..0 various drawing options can be set up:
  318.  
  319. The first four :  1 = replace
  320.                   2 = transparent [ OR ]
  321.                   3 = Xor
  322.                   4 = reverse transparent [??], valid for all
  323.                       functions
  324.  
  325. The result of a change is immediately visible.
  326.  
  327. Blockmenu : (with '\' key)
  328.           -Alas so far only very few functions implemented,
  329.            because it takes time and effort to do it properly.
  330.            Has anyone got code already to do this?
  331.           -can also be accessed from the Lasso routine
  332.           -some functions also have keyboard shortcuts ( e.g.
  333.            'm' = mirror block vertically )
  334.  
  335. Block load/save :
  336.        Format details:
  337.        Block      = GFA-Basic GET/PUT Block (also used by MONOSTAR
  338.                     etc.)
  339.        Lassoblock = Block and Mask saved in the file one after
  340.                     the other.
  341.        IMG        = IMAGE-Format, up to 640*400 pixels.
  342.  
  343. -------------------------------------------------------------------------------
  344.                              9. Lasso :
  345. -------------------------------------------------------------------------------
  346.  
  347. The STAD-format picture 'LASSO.PAC' gives a complete demonstration
  348. of how to use the lasso; load it up and have a look. (The text is
  349. in German, but the pictures aren't).
  350. - A real LASSO with editable Mask !!!
  351. - All the block manipulation functions are available (e.g. 'd'=
  352. rotate Lasso block around 90° left)!
  353. - Its own buffer (requires initialisation when starting the
  354. program; NOTE if set to 32kb, and you cut an area greater than
  355. 16kb, the associated mask cannot be buffered and will be lost )
  356. - choice of shapes for cut (Freehand,Rectangle,Circle,...)
  357. - various drawing modes (see COPY)
  358. - special 'Shadow' mode : when pasting type 'j'; the block is
  359. 'shadowed' with the current fill-pattern (changeable). Experiment
  360. for yourself - try 'Shift-j' as well.
  361. - Contour (especially in Shadow-Mode): when pasting type 'k' and
  362. see the effect of the different write modes.
  363.  
  364. -------------------------------------------------------------------------------
  365.                               10. Text :
  366. -------------------------------------------------------------------------------
  367.  
  368. - for help use the 'Help' key
  369. - all parameters are set using 'Control'+key combinations
  370. - access the menu with 'Control - \'
  371. - Load up to to 5 further GEM fonts !
  372.   CAUTION : they must be genuine GEM fonts, as used by HyperDraw,
  373.   EASY-DRAW, Timeworks, FontKit etc.
  374.   (Does anyone have a routine in Basic,C,Pascal etc to convert
  375.    SIGNUM fonts into GEM fonts? This would give access to the vast
  376.    pool of PD Signum fonts). (Translator's note: Jeremy Hughes'
  377.    Fontkit Plus from the ST Club does this and more).
  378.  
  379. - Text-Style Programming
  380.   This uses the GEM VDI routines to write the same text string
  381.   several times one after the other with changed attributes
  382.   (italic, light, ...). With the right choices this can give
  383.   amazing graphic effects; see for example the text in the Fill
  384.   Editor screen.
  385. An example :
  386. - start up 'Programming mode' ( hit 'Control-p' = ^p for Program
  387.   menu, then click the 'teach on' field ; the colours will
  388.   invert. To switch off, click the same field again )
  389. - quit the Program menu (right Mouse_button)
  390. - type in some sample text (your name or whatever)
  391. - adjust the parameters (e.g. italic, light, OR-combination =
  392.   ^8,^7,^2)
  393. - left-click to set the text (parameters are stored)
  394. - amend the parameters (now: upright, black = ^8,^7)
  395. - set the text again,...etc....(max.17 times)
  396. - go back to the menu (Control '\'), then to the Programming menu
  397.   and switch off 'teach' and switch on 'benutzen' ('use').
  398. - now with one click you can paste down the combination of text
  399.   you've built up, and repeat it as necessary. Text height can
  400. still be modified; the other parameters can't be changed.
  401.  
  402. -------------------------------------------------------------------------------
  403.                              11. Fill Patterns :
  404. -------------------------------------------------------------------------------
  405.  
  406. If the folder from which BUTTERFLY is started contains a file
  407. called 'MUSTER.DAT' (3840 bytes) this is loaded and used as the
  408. default set of fill patterns. If you have a personal set of
  409. patterns you can rename your file and cause them to be loaded
  410. automatically instead of doing this manually every time you run
  411. Butterfly.
  412. CAUTION: The first 22 Patterns are used for converting DEGAS-
  413. format colour graphics to monochrome (see 'Loading Pictures').
  414.  
  415. You can select an active pattern for use:
  416. 1. From the top Menu ( click the box headed 'Muster' )
  417. 2. In the pattern editor
  418. 3. during a drawing function by hitting 'f', which will bring up
  419.    the pattern-selection screen (for example when drawing filled
  420.    rectangles).
  421.  
  422. The Pattern Editor :
  423. 'Help' = show keyboard mappings
  424. Select a pattern to edit with the left mouse_button; use the
  425. right mouse_button to copy a pattern.
  426. Manipulation options:
  427.     arrow symbols: self-explanatory
  428.     holen(grab) : grab a 16*16-pixel block from the main screen to
  429.                   use as a pattern
  430.     grau(grey) : graduated fill not yet implemented.
  431.     invert & loschen(clear): obvious
  432.  
  433. Pattern load : various formats (MONOSTAR,DEGAS,STAD,BUTTERFLY,....)
  434. Pattern save : either all 120 Patterns in Block (120*32 bytes =
  435.                3840 bytes) or the current one (32 bytes; MONOSTAR-
  436.                format)
  437.  
  438. -------------------------------------------------------------------------------
  439.                             12. Fill :
  440. -------------------------------------------------------------------------------
  441.  
  442. You can fill black areas by switching the drawing colour to white
  443. (F5). (Try write-mode 'OR' - '2' on the main keyboard).
  444.  
  445. NOTE: The key combination 'Control-Alternate-Shift(left)' which
  446. normally quits the program can be used to break into a fill
  447. routine.
  448.  
  449. -------------------------------------------------------------------------------
  450.                         13. Accessories (Acc's) :
  451. -------------------------------------------------------------------------------
  452.  
  453. Accessories can also be opened from BUTTERFLY: click the Desktop
  454. icon at the top left of the main menu and a menu-bar will appear.
  455.  
  456. CAUTION :BUTTERFLY-ARTIST is not fully integrated with GEM. This
  457. means that accessories which open a window or dialog-box (which
  458. means most notepad/calendar/help utilities etc.) must be properly
  459. closed before you take the 'EXIT' option from the menu-bar to
  460. return to Butterfly. If not the screen will go out of control.
  461. (Does anyone know the cure for this?).
  462.  
  463. You can use the cursor and numeric-keypad keys to scroll around
  464. the work-area as usual. The menu-bar will be overwritten, but will
  465. continue to function as before - just move the mouse to the top of
  466. the screen.
  467.  
  468. -------------------------------------------------------------------------------
  469.                                14. Zoom :
  470. -------------------------------------------------------------------------------
  471.  
  472. - The degree of magnification is fixed
  473. - You can call up the facility anytime with key 'F1'
  474. - fill : you can flood-fill the zoom-window; use 'f' to select a
  475.   pattern
  476. - Undo will undo the last change made; Clr/Home will restore the
  477.   state on entry to Zoom.
  478. - You can use the arrow-symbols to move the zoom-window around the
  479.   current screen ( ie the 640*400 pixel screen which was visible
  480.   entering zoom; not the whole work-area).
  481.  
  482. -------------------------------------------------------------------------------
  483.                      15. Masking
  484. ------------------------------------------------------------------------------
  485.  
  486. F2 switches this facility on & off
  487. To use the function, you must have initialised the Mask area at
  488. the start of the program. The mask screen is simply a 32K ( whole
  489. screen ) picture to which you can switch by hitting '0' on the
  490. numeric keypad; to get back to the normal screen hit '0' again.
  491. You can work on this screen in exactly the same way as the normal
  492. screen. When Masking is switched-on and you are working on the
  493. normal screen, you won't be able to draw on any areas which are
  494. 'black' on the mask screen.
  495. Example: Say you want to work in the border around a graphic
  496. object, but leave the object itself untouched. Mark out the
  497. border, then cut it and paste it to the mask screen. Then fill the
  498. area you want to preserve, either by filling with a solid black
  499. pattern or drawing a filled rectangle. Then you can switch back to
  500. the main screen, switch on masking and draw to your heart's
  501. content. If you move the active window masking will still work,
  502. but may be meaningless because the mask screen is only 32k and
  503. therefore doesn't move.
  504. TIP : When creating a mask screen, the 'shadow' option on lasso
  505. (with a solid black fill-pattern) can be very useful.
  506.  
  507. -------------------------------------------------------------------------------
  508.                         16. 'Single Splat' Mode
  509. -------------------------------------------------------------------------------
  510.  
  511. In many graphics packages, if you've defined an object (e.g. a
  512. filled circle) and pasted it on the screen, then you have to
  513. define it again if you want to repeat the action. By default
  514. BUTTERFLY will retain the object; if you don't want this, switch
  515. 'Single Splat Mode' on.
  516.  
  517. -------------------------------------------------------------------------------
  518.                                 E N D
  519. -------------------------------------------------------------------------------
  520.  
  521.